Skip to main content

sharedText

Type

property

Summary

Specifies whether a grouped field's text is the same on all cards with that group.

Syntax

set the sharedText of <field> to {true | false}

Description

Use the sharedText property to create labels or other fields with static text (the same on all cards where the field appears).

If a field's sharedText property is set to true, the content of that field is the same on all cards where the field appears. Changing the text on one card changes it on all the cards.

If the field's sharedText is false, it can have different text on each card where it appears, and changing the field's text changes it only on the current card.

If the field is a card field (not part of a group), its sharedText property has no effect.

Examples

set the sharedText of field "Section Marker" to true

command: group

glossary: grouped control, property, current card

keyword: field, card

object: card, field

property: dontSearch, sharedHilite

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?